@echo off

@echo Removing Instrumented Files

pushd ..\ManagedAPI\Win32\Debug
if exist UnderstandWrapper.ManagedAPI.instr.pdb (
	del UnderstandWrapper.ManagedAPI.instr.pdb
	del UnderstandWrapper.ManagedAPI.dll
	rename UnderstandWrapper.ManagedAPI.dll.orig UnderstandWrapper.ManagedAPI.dll
)
popd

pushd ..\UnitTest\bin\x86\Debug
if exist UnitTest.instr.pdb (
	del UnitTest.instr.pdb
	del UnitTest.dll
	rename UnitTest.dll.orig UnitTest.dll
)
popd

pause
@echo on